package com.itqf.di;

import lombok.Data;

import java.util.*;

/**
 * @Description:
 * @Company: 千锋互联
 * @Author: 李丽婷
 * @Date: 2021/1/13
 * @Time: 下午2:19
 */
@Data
public class MyBean {

    //这四种通过value属性注入值
    private  int age;
    private   String  name;
    private Date  date;
    private  Class<Book> bookClass;

    //ref 引用另一个bean的id
    private Book book1;//java自定义类型
    private Book book2;//java自定义类型

    private List<String> list;

    private Set<Book>  set;

    private String []arrays;

    private Properties properties;


    private Map<String,Object> map;



}
